package com.moyun.finance.repository;

import com.moyun.finance.entity.Reimbursement;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;


public interface ReimbursementRepository extends JpaRepository<Reimbursement,String>, JpaSpecificationExecutor<Reimbursement> {
    List<Reimbursement> findByCompanyId(String companyId);
    List<Reimbursement> findByCompanyIdAndState(String companyId, int state);
}
